Manages the blend states recorded. More...
Public Member Functions | |
| BlendState * | getDefaultState () const |
Public Member Functions inherited from nkGraphics::Manager< BlendState > | |
| BlendState * | createOrRetrieve (nkMemory::StringView name) |
| BlendState * | record (nkMemory::StringView name, nkMemory::UniquePtr< BlendState > resource) |
| BlendState * | get (nkMemory::StringView name) const |
| BlendState * | getByIndex (unsigned int index) const |
| void | rename (nkMemory::StringView currentName, nkMemory::StringView newName) |
| void | erase (nkMemory::StringView name) |
| nkMemory::UniquePtr< BlendState > | relinquish (nkMemory::StringView name) |
Manages the blend states recorded.
BlendState creation / deletion can go through this class, allowing it to act as a repository of resources which lifetime will get managed as needed. Like any Manager, it is always owning the memory it owns, unless it passes back the ownership explicitly.
| BlendState* nkGraphics::BlendStateManager::getDefaultState | ( | ) | const |